package io.renren.modules.sp.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.common.dao.BaseDao;
import io.renren.modules.sp.dto.SpPassAccountDTO;
import io.renren.modules.sp.entity.SpPassAccountEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* 直通名单
*
* @author Mark sunlightcs@gmail.com
* @since 3.0 2025-05-29
*/
@Mapper
public interface SpPassAccountDao extends BaseDao<SpPassAccountEntity> {

    IPage<SpPassAccountEntity> selectPageVo(Page page, @Param(Constants.WRAPPER) Map<String,Object> param);
    List<Map<String,Object>> querySubMatch(@Param("matchId") Long matchId, @Param("baseMatchItemId") Long baseMatchItemId, @Param("userId") Long userId);

}
